package com.example.demo.annotation;

import java.util.concurrent.locks.Lock;

/**
 * @Auther Created by l.wang on 2019/1/15.
 */
public interface IDistributedLock {
    Lock lock(String lockName);

    void unlock(Lock lock);
}
